

<h2>Payment Information  </h2>  <?php echo CHtml::link(CHtml::encode('[ Update ]' ), array('/adminpanel/paymentinformation/Update','pid'=>$model->idRentalProperty,'id'=>$model->id))  ?> 

<?php 

$this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		array(
			'name' => 'Method Of Payment',
			'value' => (($model->MethodOfPayment == 1)?'PayPal':'Credit Carde'),
		),
		'BankInformation',
		'RoutingNumber',
		'AccountNumber',
		'CCNumber',
		'ExpirationDate',
		'CCVNumber',
		'NameOnCard',
		array(
			'name' => 'Payment Procedure',
			'value' => (($model->OneTimeOrReccurring == 1)?'Reccurring':'One Time'),
		),
		'DatePaymentPrefferenceSet',
		'PayPalAccount',
	),
)); ?>
